﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IAOI.Platform.WCF.WCF
{
    public class ServiceLogData
    {
        public long Sequence { get; set; }
        public Guid ContextID { get; set; }
        public DateTimeOffset StartTime { get; set; }
        public DateTimeOffset EndTime { get; set; }

        public bool IsSuccess { get; set; }
        public string AbsoluteUri { get; set; }


        public State State { get; set; }

        public string HostName { get; set; }
        public string Action { get; set; }
        public string CallerID { get; set; }
        public string CallerName { get; set; }
        public string CallerIP { get; set; }
    }

    public class ServiceLogDataDetail
    {
        public long Sequence { get; set; }
        public string Message { get; set; }
        public string InputMessage { get; set; }
        public string OutputMessage { get; set; }
        public string Exception { get; set; }
        public string InnerException { get; set; }
        public string StackTrace { get; set; }
    }
    public enum State
    { 
        Progress =0,

        Sucess = 1,
        Fail = 2,
        Exception = 3
    }
    internal class LogDetaileData
    { 
    
    }
}
